package com.example.ten.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @program: axiosI
 * @description:
 * @author: 诸葛龙辰
 * @create: 2023-03-25 09:44
 * @version:
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Result<T> {
    private Integer code;
    //响应信息
    private String message;
    //返回对象  泛型，编写代码时泛指任何类型，具体使用时传入具体类型
    private T data;
}
